package com.study.springboot_yaml;

/**
 * @ClassName: Redis
 * @Description:
 * @author: WS
 * @date 2020/12/9
 * @Version: 1.0
 **/
public class Redis {
    private Integer port;
    private String host;

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    @Override
    public String toString() {
        return "Redis{" +
                "port=" + port +
                ", host='" + host + '\'' +
                '}';
    }
}
